<?php 
namespace Admin\Model;
use Think\Model\RelationModel;
class PageModel extends RelationModel{
	protected $_validate = array(
	array('name','require','添加失败:标题不能为空！'),
	array('slug','require','添加失败:单页别名不能为空！'),
	array('slug','','添加失败:单页别名已经存在！',0,'unique',1),
	);
}
 ?>